</div>
</div>
{if is_array($__message) && count($__message) > 0 }
<div id="overlay">
<div id="message">
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close"
 onclick="javascript:overlaydiv = document.getElementById('overlay'); overlaydiv.style.zIndex = -100;
           overlaydiv.innerHTML = ''; overlaydiv.style.height = '0px'; overlaydiv.style.width = '0px';"/>
</div>
<div id="messagecontent">
<h3>{$LN_fatal_error_title}:</h3>
{section name=item loop=$__message}
{$__message[item]}<br/>
{/section}

{if $post neq NULL}
<form id="footer_repost" method="post" action="{$action}">
{foreach from=$post item=x}
{if is_array($x.value)}
	{foreach from=$x.value item=foo key=k} 
	<input name="{$x.name}[{$k}]" value="{$foo}" type="hidden"/>
	{/foreach}
{else} 
	<input name="{$x.name}" value="{$x.value}" type="hidden"/>
{/if}
{/foreach}

<input type="button" class="submit" value="{$LN_fatal_error_resend}" name="resend_data" onclick='javascript:do_submit("footer_repost");'/>
<input type="button" class="submit" value="{$LN_fatal_error_stop}" name="resend_data_stop" onclick='javascript:history.go(-1);'/>
</form>
{/if}

</div>
</div>
</div>
{/if}

<script type="text/javascript">
CheckStatusWindow();
UpdateStatus();
</script>

</body>
<!-- URD v{$VERSION} -->
</html>
